package com.yisu.auction.api.core.mapper;

import com.yisu.auction.api.domain.request.systemPackage.SystemNoticeRequest;
import com.yisu.auction.api.domain.vo.systemPackageVos.SystemNoticeTypeVo;
import com.yisu.auction.api.domain.vo.systemPackageVos.SystemNoticeVo;
import com.yisu.auction.ewf.entity.SystemNotice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SystemNoticeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemNotice record);

    int insertSelective(SystemNotice record);

    SystemNotice selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SystemNotice record);

    int updateByPrimaryKeyWithBLOBs(SystemNotice record);

    int updateByPrimaryKey(SystemNotice record);

    /**
     * author:黄萧林
     * Business Description:获取系统公告
     * @return
     */
    List<SystemNoticeVo> getSystemNoticeListByMsgType(SystemNoticeRequest systemNoticeRequest);

}